﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Fonour.Domain.Entities
{
    /// <summary>
    /// 组织机构实体
    /// </summary>
    public  class Deparment : Entity
    {
        public string Name { get; set; }
        public string Code { get; set; }
        public string Manager { get; set; }
        public string ContactNumber { get; set; }
        public string Remarks { get; set; }

        public Guid ParentId { get; set; }
        public Guid CreateUserId { get; set; }
        public DateTime? CreateTime { get; set; }
        public int IsDeleted { get; set; }
        public virtual ICollection<User> Users { get; set; }
    }
}
